import React from 'react'
import {withRouter} from 'react-router-dom';

function Index({history}) {
    console.log(history);
    return (
        <i className={"iconfont icon-left"} style={{
            fontSize: '20px',
            color: '#484848'
        }} onClick={() => {
            history.goBack()
        }}/>
    );
}

export default withRouter(Index)